<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>父向子通讯</title>
</head>
<body>
<div id="app">
    <heima63 name="heima" age="55"></heima63>
</div>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let heima63 = {
        props: ["name", "age"],
        template: `<div>
            我是一个黑马63组件{{name}}++{{age}}</br>
                    </div>`,

    };
    let app = new Vue({
        el: "#app",
        components: {
            heima63 //key:value省略成 value
        }
    });
    ;
</script>
</body>
</html>